package com.xintai.sparepart.purchase.domain;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 合同上传文件对象 bei_purchase_file
 *
 * @author xintai
 * @date 2021-02-21
 */
public class BeiPurchaseFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long beiId;

    /** 主表主键ID */
    @Excel(name = "主表主键ID")
    private Long purchaseId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String beiFilename;

    /** 文件存放路径 */
    @Excel(name = "文件存放路径")
    private String beiFilepath;

    public void setBeiId(Long beiId)
    {
        this.beiId = beiId;
    }

    public Long getBeiId()
    {
        return beiId;
    }
    public void setPurchaseId(Long purchaseId)
    {
        this.purchaseId = purchaseId;
    }

    public Long getPurchaseId()
    {
        return purchaseId;
    }
    public void setBeiFilename(String beiFilename)
    {
        this.beiFilename = beiFilename;
    }

    public String getBeiFilename()
    {
        return beiFilename;
    }
    public void setBeiFilepath(String beiFilepath)
    {
        this.beiFilepath = beiFilepath;
    }

    public String getBeiFilepath()
    {
        return beiFilepath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("beiId", getBeiId())
                .append("purchaseId", getPurchaseId())
                .append("beiFilename", getBeiFilename())
                .append("beiFilepath", getBeiFilepath())
                .toString();
    }
}
